package com.qingcheng.pojo.comment;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

@Table(name = "tb_comment")
public class Comment implements Serializable {
    @Id
    private String id;

    private String skuId;

    private String spuId;

    private String username;

    private Integer stars;

    private String content;

    private String img;

    private Integer likeNum;

    private Integer replyNum;

    private Date createTime;

    private Integer status;

    private String sellerReply;

    private Integer level;

    private Integer isImg;

    private Integer isAdd;

    private String spec;

    public Comment() {
    }

    public Comment(String id, String skuId, String spuId, String username, Integer stars, String content, String img, Integer likeNum, Integer replyNum, Date createTime, Integer status, String sellerReply, Integer level, Integer isImg, Integer isAdd, String spec) {
        this.id = id;
        this.skuId = skuId;
        this.spuId = spuId;
        this.username = username;
        this.stars = stars;
        this.content = content;
        this.img = img;
        this.likeNum = likeNum;
        this.replyNum = replyNum;
        this.createTime = createTime;
        this.status = status;
        this.sellerReply = sellerReply;
        this.level = level;
        this.isImg = isImg;
        this.isAdd = isAdd;
        this.spec = spec;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getSkuId() {
        return skuId;
    }

    public void setSkuId(String skuId) {
        this.skuId = skuId;
    }

    public String getSpuId() {
        return spuId;
    }

    public void setSpuId(String spuId) {
        this.spuId = spuId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Integer getStars() {
        return stars;
    }

    public void setStars(Integer stars) {
        this.stars = stars;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public Integer getLikeNum() {
        return likeNum;
    }

    public void setLikeNum(Integer likeNum) {
        this.likeNum = likeNum;
    }

    public Integer getReplyNum() {
        return replyNum;
    }

    public void setReplyNum(Integer replyNum) {
        this.replyNum = replyNum;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getSellerReply() {
        return sellerReply;
    }

    public void setSellerReply(String sellerReply) {
        this.sellerReply = sellerReply;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public Integer getIsImg() {
        return isImg;
    }

    public void setIsImg(Integer isImg) {
        this.isImg = isImg;
    }

    public Integer getIsAdd() {
        return isAdd;
    }

    public void setIsAdd(Integer isAdd) {
        this.isAdd = isAdd;
    }

    public String getSpec() {
        return spec;
    }

    public void setSpec(String spec) {
        this.spec = spec;
    }
}
